gdk_window_end_paint: Flush destination surface after paint
authorAlexander Larsson <alexl@redhat.com>
Mon, 10 Nov 2014 14:24:14 +0000 (15:24 +0100)
committerAlexander Larsson <alexl@redhat.com>
Mon, 10 Nov 2014 14:25:31 +0000 (15:25 +0100)
It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).

gdk/gdkwindow.c

index be4f75ca35f683430e4d63841ec14dd7f8205aa1..ca7632a75fb5c0edfea782bdfe153bee699d9aca 100644 (file)
@@ -3117,6 +3117,8 @@ gdk_window_end_paint (GdkWindow *window)
           cairo_paint (cr);
 
           cairo_destroy (cr);
+
+          cairo_surface_flush (surface);
         }
     }